package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TagEvaluateRelationDao;
import com.frogs.ucenter.entity.TagEvaluateRelation;
import com.frogs.ucenter.service.TagEvaluateRelationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("tagEvaluateRelationService")
public class TagEvaluateRelationServiceImpl extends BaseServiceImpl<TagEvaluateRelation> implements TagEvaluateRelationService {
    @Autowired
    private TagEvaluateRelationDao tagEvaluateRelationDao;

    public TagEvaluateRelationServiceImpl() {
        super();
    }

    public TagEvaluateRelationDao getTagEvaluateRelationDao() {
        return tagEvaluateRelationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<TagEvaluateRelation> getBaseDao() {
        return tagEvaluateRelationDao;
    }

    public void setTagEvaluateRelationDao(TagEvaluateRelationDao tagEvaluateRelationDao) {
        this.tagEvaluateRelationDao = tagEvaluateRelationDao;
    }
}